home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / GameKit / Examples / NX_Invaders / AnimTester / InfoController.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-12  |  1.5 KB  |  49 lines

  1.  
  2. #import <objc/Object.h>
  3.  
  4. #define unRegSerial "NREG"
  5. #define versionString "0.1a"
  6.  
  7. @interface InfoController:Object
  8. {
  9.     id    infoPanel;
  10.     id    helpPanel;
  11.     id    licensePanel;
  12.     id    READMEPanel;
  13.     id    registerPanel;
  14.     id    orderFormPanel;
  15.     id  regText;
  16.     id  costText;
  17.     id  colLicNum;
  18.     id  pillLicNum;
  19.     id  regNumText;
  20.     
  21.     char *keyFileName;
  22.     char *key, *serialNum;
  23. }
  24.  
  25. - init;                    // make a new instance.
  26. - readKey;
  27. - writeKey;
  28. - (BOOL)keyOK;
  29. - infoPanel;            // return the infoPanel, or load it.
  30. - helpPanel;            // return the helpPanel, or load it.
  31. - licensePanel;            // return the licensePanel, or load it.
  32. - readmePanel;            // return the readmePanel, or load it.
  33. - registerPanel;        // return the registerPanel, or load it.
  34. - orderFormPanel;        // return the orderFormPanel, or load it.
  35. - info:sender;            // make the info panel be up there.
  36. - help:sender;            // make the help panel be up there.
  37. - license:sender;        // make the license panel be up there.
  38. - readme:sender;        // make the readme panel be up there.
  39. - registration:sender;    // make the register panel be up there.
  40. - orderForm:sender;        // make the order form panel be up there.
  41. - (BOOL)notRegistered;    // tell if we're registered or not.
  42. - registerGame:sender;    // accept registration...or not...
  43. - cancelRegistration:sender;        // cancel registration modal loop...
  44. - suggestion:sender;    // This is pretty much lifted from Opener.
  45. - costCalc:sender;        // Calculate the cost of the licenses.
  46. - printOrderForm:sender;    // Do -costCalc and then print orderForm.
  47.  
  48. @end
  49.